package com.example.springmvc_demo2.mapper;

import com.example.springmvc_demo2.entiry.UserEntiry;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from user where username=#{username} and password=#{password}")
    UserEntiry login(UserEntiry userEntiry);
}